package com.chao.common.codeGeneration.bean;

import com.chao.common.codeGeneration.bean.TableColumns;

import java.util.List;

public class Table {

    /**
     * 模块名
     */
    public String pojoKey;

    /**
     * 模块名(小写)
     */
    public String upojoKey;

    /**
     * 模块注释
     */
    public String pojoName;

    /**
     * 表名
     */
    public String tableName;

    /**
     * 服务名
     */
    public String service;

    /**
     * 包名
     */
    public String pacName;

    /**
     * 代码层级
     */
    public Integer daima;

    /**
     * 字段
     */
    public List<com.chao.common.codeGeneration.bean.TableColumns> columns;

    /**
     * 功能
     */
    private String[] function;

    public Table(String tableName, List<com.chao.common.codeGeneration.bean.TableColumns> columns) {
        this.tableName = tableName;
        this.columns = columns;
    }

    public String getPojoKey() {
        return pojoKey;
    }

    public void setPojoKey(String pojoKey) {
        this.pojoKey = pojoKey;
    }

    public String getUpojoKey() {
        return upojoKey;
    }

    public void setUpojoKey(String upojoKey) {
        this.upojoKey = upojoKey;
    }

    public String getPojoName() {
        return pojoName;
    }

    public void setPojoName(String pojoName) {
        this.pojoName = pojoName;
    }

    public String getTableName() {
        return tableName;
    }

    public void setTableName(String tableName) {
        this.tableName = tableName;
    }

    public String getService() {
        return service;
    }

    public void setService(String service) {
        this.service = service;
    }

    public String getPacName() {
        return pacName;
    }

    public void setPacName(String pacName) {
        this.pacName = pacName;
    }

    public Integer getDaima() {
        return daima;
    }

    public void setDaima(Integer daima) {
        this.daima = daima;
    }

    public List<com.chao.common.codeGeneration.bean.TableColumns> getColumns() {
        return columns;
    }

    public void setColumns(List<TableColumns> columns) {
        this.columns = columns;
    }

    public String[] getFunction() {
        return function;
    }

    public void setFunction(String[] function) {
        this.function = function;
    }
}
